#ifndef _LOOPLINKLIST_H
#define _LOOPLINKLIST_H

typedef int ElemType ;
typedef struct node {
	ElemType data;
	struct node *next;
} Node;
typedef struct node *LinkList;

typedef int status ;
#define OK 1
#define ERROR 0

status insertElem(LinkList *p , int i , ElemType e);
status listInsert(LinkList *L,int i,ElemType e);
status listDelete(LinkList *L, int i );
void createHeadList(LinkList *L ,int n);
void createTailList(LinkList *L ,int n);
void getElem(LinkList *L ,int n , ElemType *e);


#endif